package com.bishe.psy.dao;

import com.bishe.psy.model.StuUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StuUserMapper {
    int insert(StuUser row);

    int insertSelective(StuUser row);

    StuUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StuUser row);

    int updateByPrimaryKey(StuUser row);

    StuUser StuSelectByUsername(@Param("username") String username);

    //查询所有学生账号
    List<StuUser> selectAllInfo();
}